<template>
  <div>
    <button @click="goSub">首页/登陆</button>
  </div>
</template>
<script setup lang='ts'>
  import { useRouter } from 'vue-router'
  let router = useRouter()
  function goSub(){
    router.push('/sub1-app')
  }
</script>
 
<style scoped>
  
</style>